package com.db.test.listener;

import org.springframework.context.ApplicationEvent;

import java.util.HashMap;
import java.util.Map;

public class MyApplicationEvent extends ApplicationEvent {
    private Map<String,Object> param = new HashMap<>();

    public MyApplicationEvent(Object source) {
        super(source);
        this.param = (Map<String,Object>)source;
    }

    public Map<String, Object> getParam() {
        return param;
    }

    public void setParam(Map<String, Object> param) {
        this.param = param;
    }
}
